package br.com.werp.suporte.Hardware;
import java.util.*;
import org.apache.struts.action.*;
import javax.servlet.http.*;

/**
 * Creation Date 21/12/2006 08:37:06
 * Last Modify Date 21/12/2006 09:19:35
 */

public class PesquisarPlacaRedeActionForm extends org.apache.struts.action.ActionForm {
  public String rede_id;
  public String rede_marca;
  public String rede_modelo;
  public String redes;
  private boolean valida = false;
  public PesquisarPlacaRedeActionForm() {
  }
  /**
    * REDE_ID: Gets the value of this field.
    */
  public String getRede_id() {
    return rede_id;
  }
  /**
     * REDE_ID: Sets thhe value for this field.
     */
  public void setRede_id(String REDE_ID) {
    rede_id = REDE_ID;
  }
  /**
    * REDE_MARCA: Gets the value of this field.
    */
  public String getRede_marca() {
    return rede_marca;
  }
  /**
     * REDE_MARCA: Sets thhe value for this field.
     */
  public void setRede_marca(String REDE_MARCA) {
    rede_marca = REDE_MARCA;
  }
  /**
    * REDE_MODELO: Gets the value of this field.
    */
  public String getRede_modelo() {
    return rede_modelo;
  }
  /**
     * REDE_MODELO: Sets thhe value for this field.
     */
  public void setRede_modelo(String REDE_MODELO) {
    rede_modelo = REDE_MODELO;
  }
  /**
    * REDES: Gets the value of this field.
    */
  public String getRedes() {
    return redes;
  }
  /**
     * REDES: Sets thhe value for this field.
     */
  public void setRedes(String REDES) {
    redes = REDES;
  }
  /**
    * Reset all fields.
    */
  public void reset(org.apache.struts.action.ActionMapping mapping,
      javax.servlet.http.HttpServletRequest request) {
    rede_id = null;
    rede_marca = null;
    rede_modelo = null;
    redes = null;
  }
  /**
    * Validate fields and return ActionErrors.
    */

  public ActionErrors validate(org.apache.struts.action.ActionMapping mapping,
      javax.servlet.http.HttpServletRequest request) {
    ActionErrors errors = new ActionErrors();
    valida = false;
    if (errors != null && errors.size() > 0) {
      javax.servlet.http.HttpSession session = request.getSession(true);
      ActionForward actionForward = null;
      session.setAttribute(mapping.getName(), this);
    }
    return errors;
  }
}
